import request from '@/utils/request'

export function getRent () {
  return request({
    url: '/user/houses'
  })
}

export function getFavorites (id) {
  return request({
    url: `/user/favorites/${id}`
  })
}
